<!DOCTYPE html>
<html class="no-js">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>EnumAdapter</title>
    <link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
    <script>var pathToRoot = "../../../";</script>
    <script>document.documentElement.classList.replace("no-js","js");</script>
    <script>const storage = localStorage.getItem("dokka-dark-mode")
    if (storage == null) {
        const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
        if (osDarkSchemePreferred === true) {
            document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
    } else {
        const savedDarkMode = JSON.parse(storage)
        if(savedDarkMode === true) {
            document.getElementsByTagName("html")[0].classList.add("theme-dark")
        }
    }
    </script>
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../../styles/style.css" rel="Stylesheet">
<link href="../../../styles/main.css" rel="Stylesheet">
<link href="../../../styles/prism.css" rel="Stylesheet">
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../styles/font-jb-sans-auto.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script>
<script type="text/javascript" src="../../../scripts/prism.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
</head>
<body>
    <div class="root">
<nav class="navigation" id="navigation-wrapper">
    <div class="navigation--inner">
        <div class="navigation-title">
            <button class="menu-toggle" id="menu-toggle" type="button">toggle menu</button>
            <div class="library-name">
                    <a class="library-name--link" href="../../../index.html">
                            wire-runtime
                    </a>
            </div>
            <div class="library-version">
5.1.0            </div>
        </div>
        <div class="filter-section" id="filter-section">
                <button class="platform-tag platform-selector common-like" data-active="" data-filter=":wire-runtime:dokkaHtml/commonMain">common</button>
                <button class="platform-tag platform-selector common-like" data-active="" data-filter=":wire-runtime:dokkaHtml/darwinMain">darwin</button>
                <button class="platform-tag platform-selector js-like" data-active="" data-filter=":wire-runtime:dokkaHtml/jsMain">js</button>
                <button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":wire-runtime:dokkaHtml/jvmMain">jvm</button>
                <button class="platform-tag platform-selector common-like" data-active="" data-filter=":wire-runtime:dokkaHtml/nativeMain">native</button>
        </div>
    </div>
    <div class="navigation-controls">
        <button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button>
        <div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div>
    </div>
</nav>
        <div id="container">
            <div class="sidebar" id="leftColumn">
                <div class="sidebar--inner" id="sideMenu"></div>
            </div>
            <div id="main">
<div class="main-content" data-page-type="classlike" id="content" pageIds="wire-runtime::com.squareup.wire/EnumAdapter///PointingToDeclaration//1130791900">
  <div class="breadcrumbs"><a href="../../../index.html">wire-runtime</a><span class="delimiter">/</span><a href="../index.html">com.squareup.wire</a><span class="delimiter">/</span><span class="current">EnumAdapter</span></div>
  <div class="cover ">
    <h1 class="cover"><span>Enum</span><wbr></wbr><span><span>Adapter</span></span></h1>
    <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
      <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">EnumAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator"> : </span><a href="../-wire-enum/index.html">WireEnum</a><span class="token operator">&gt;</span> : <a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt; </span></div><p class="paragraph">An abstract <a href="../-proto-adapter/index.html">ProtoAdapter</a> that converts values of an enum to and from integers.</p></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">EnumAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator"> : </span><a href="../-wire-enum/index.html">WireEnum</a><span class="token operator">&gt;</span> : <a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt; </span></div><p class="paragraph">An abstract <a href="../-proto-adapter/index.html">ProtoAdapter</a> that converts values of an enum to and from integers.</p></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">EnumAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator"> : </span><a href="../-wire-enum/index.html">WireEnum</a><span class="token operator">&gt;</span> : <a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt; </span></div><p class="paragraph">An abstract <a href="../-proto-adapter/index.html">ProtoAdapter</a> that converts values of an enum to and from integers.</p><h4 class="">Inheritors</h4><div class="table"><div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain"><div class="main-subrow keyValue "><div class=""><span class="inline-flex"><div><a href="../-runtime-enum-adapter/index.html">RuntimeEnumAdapter</a></div></span></div><div></div></div></div></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">EnumAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator"> : </span><a href="../-wire-enum/index.html">WireEnum</a><span class="token operator">&gt;</span> : <a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt; </span></div><p class="paragraph">An abstract <a href="../-proto-adapter/index.html">ProtoAdapter</a> that converts values of an enum to and from integers.</p></div>    </div>
  </div>
  <div class="tabbedcontent">
    <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button><button class="section-tab" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members &amp; Extensions</button></div>
    <div class="tabs-section-body">
      <div data-togglable="CONSTRUCTOR">
        <h2 class="">Constructors</h2>
        <div class="table"><a data-name="1665918055%2FConstructors%2F492318644" anchor-label="EnumAdapter" id="1665918055%2FConstructors%2F492318644" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain"></a>
          <div class="table-row" data-togglable="CONSTRUCTOR" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="-enum-adapter.html"><span>Enum</span><wbr></wbr><span><span>Adapter</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1665918055%2FConstructors%2F492318644"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html">Class</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">syntax<span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a><span class="token punctuation">, </span></span><span class="parameter ">identity<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html">Class</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html">Class</a><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">syntax<span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><span data-unresolved-link="kotlin.reflect/KClass///PointingToDeclaration/">KClass</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><span data-unresolved-link="kotlin.reflect/KClass///PointingToDeclaration/">KClass</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">syntax<span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a></span></span><span class="token punctuation">)</span></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="PROPERTY">
        <h2 class="">Properties</h2>
        <div class="table"><a data-name="305170104%2FProperties%2F1130791900" anchor-label="identity" id="305170104%2FProperties%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/identity.html"><span><span>identity</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="305170104%2FProperties%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">val </span><a href="../-proto-adapter/identity.html">identity</a><span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></div><div class="brief "><p class="paragraph">A special value that is used when a field is absent from an encoded proto3 message. When encoding a proto3 message, fields that hold this value will be omitted.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/identity.html">identity</a><span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/identity.html">identity</a><span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/identity.html">identity</a><span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="200456991%2FProperties%2F1130791900" anchor-label="sourceFile" id="200456991%2FProperties%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/source-file.html"><span>source</span><wbr></wbr><span><span>File</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="200456991%2FProperties%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">val </span><a href="../-proto-adapter/source-file.html">sourceFile</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Path to the file containing the protobuf definition of this type.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/source-file.html">sourceFile</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/source-file.html">sourceFile</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/source-file.html">sourceFile</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-612214413%2FProperties%2F1130791900" anchor-label="syntax" id="-612214413%2FProperties%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/syntax.html"><span><span>syntax</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-612214413%2FProperties%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">val </span><a href="../-proto-adapter/syntax.html">syntax</a><span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a></div><div class="brief "><p class="paragraph">Identifies the syntax in which <a href="../-proto-adapter/type.html">type</a> is defined in the proto schema. This string contains either &quot;proto2&quot; or &quot;proto3&quot;.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/syntax.html">syntax</a><span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/syntax.html">syntax</a><span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/syntax.html">syntax</a><span class="token operator">: </span><a href="../-syntax/index.html">Syntax</a></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-869380036%2FProperties%2F1130791900" anchor-label="type" id="-869380036%2FProperties%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/type.html"><span><span>type</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-869380036%2FProperties%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">val </span><a href="../-proto-adapter/type.html">type</a><span class="token operator">: </span><span data-unresolved-link="kotlin.reflect/KClass///PointingToDeclaration/">KClass</span><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/type.html">type</a><span class="token operator">: </span><span data-unresolved-link="kotlin.reflect/KClass///PointingToDeclaration/">KClass</span><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/type.html">type</a><span class="token operator">: </span><span data-unresolved-link="kotlin.reflect/KClass///PointingToDeclaration/">KClass</span><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/type.html">type</a><span class="token operator">: </span><span data-unresolved-link="kotlin.reflect/KClass///PointingToDeclaration/">KClass</span><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token operator">?</span></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1633365103%2FProperties%2F1130791900" anchor-label="typeUrl" id="1633365103%2FProperties%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/type-url.html"><span>type</span><wbr></wbr><span><span>Url</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1633365103%2FProperties%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">val </span><a href="../-proto-adapter/type-url.html">typeUrl</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Identifies this type for inclusion in a <code class="lang-kotlin">google.protobuf.Any</code>. This is a string like &quot;type.googleapis.com/packagename.messagename&quot; or null if this type is either not a message (such as scalars and enums), or was code-generated before Wire 3.2 which introduced support for type URLS.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/type-url.html">typeUrl</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/type-url.html">typeUrl</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">val </span><a href="../-proto-adapter/type-url.html">typeUrl</a><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span><span class="token operator">?</span></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div data-togglable="FUNCTION">
        <h2 class="">Functions</h2>
        <div class="table"><a data-name="-14068308%2FFunctions%2F1130791900" anchor-label="asPacked" id="-14068308%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/as-packed.html"><span>as</span><wbr></wbr><span><span>Packed</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-14068308%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-packed.html"><span class="token function">asPacked</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Returns an adapter for <code class="lang-kotlin">E</code> but as a packed, repeated value.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-packed.html"><span class="token function">asPacked</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Returns an adapter for <code class="lang-kotlin">E</code> but as a packed, repeated value.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-packed.html"><span class="token function">asPacked</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-packed.html"><span class="token function">asPacked</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Returns an adapter for <code class="lang-kotlin">E</code> but as a packed, repeated value.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-680776918%2FFunctions%2F1130791900" anchor-label="asRepeated" id="-680776918%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../-proto-adapter/as-repeated.html"><span>as</span><wbr></wbr><span><span>Repeated</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-680776918%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-repeated.html"><span class="token function">asRepeated</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Returns an adapter for <code class="lang-kotlin">E</code> but as a repeated value.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-repeated.html"><span class="token function">asRepeated</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Returns an adapter for <code class="lang-kotlin">E</code> but as a repeated value.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-repeated.html"><span class="token function">asRepeated</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/as-repeated.html"><span class="token function">asRepeated</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><span data-unresolved-link="kotlin.collections/List///PointingToDeclaration/">List</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Returns an adapter for <code class="lang-kotlin">E</code> but as a repeated value.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-763826520%2FFunctions%2F1130791900" anchor-label="decode" id="-763826520%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="decode.html"><span><span>decode</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-763826520%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read a non-null value from <code class="lang-kotlin">reader</code>.</p></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">bytes</code>.</p></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">source<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSource///PointingToDeclaration/">BufferedSource</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">source</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read a non-null value from <code class="lang-kotlin">reader</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">bytes</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">source<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSource///PointingToDeclaration/">BufferedSource</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">source</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">stream<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html">InputStream</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">source<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSource///PointingToDeclaration/">BufferedSource</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read a non-null value from <code class="lang-kotlin">reader</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read a non-null value from <code class="lang-kotlin">reader</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bytes<span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">bytes</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="../-proto-adapter/decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">source<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSource///PointingToDeclaration/">BufferedSource</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">source</code>.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1637109753%2FFunctions%2F1830420354" anchor-label="decode" id="1637109753%2FFunctions%2F1830420354" data-filterable-set=":wire-runtime:dokkaHtml/darwinMain"></a>
          <div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":wire-runtime:dokkaHtml/darwinMain" data-filterable-set=":wire-runtime:dokkaHtml/darwinMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="../decode.html"><span><span>decode</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1637109753%2FFunctions%2F1830420354"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/darwinMain" data-filterable-set=":wire-runtime:dokkaHtml/darwinMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/darwinMain">darwin</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/darwinMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><span data-unresolved-link="kotlin/ExperimentalUnsignedTypes///PointingToDeclaration/"><span class="token annotation builtin">ExperimentalUnsignedTypes</span></span></div></div><span class="token keyword">fun </span><span class="token operator">&lt;</span><a href="../decode.html">E</a><span class="token operator">&gt; </span><a href="../-proto-adapter/index.html">ProtoAdapter</a><span class="token operator">&lt;</span><a href="../decode.html">E</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="../decode.html"><span class="token function">decode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">data<span class="token operator">: </span><span data-unresolved-link="platform.Foundation/NSData///PointingToDeclaration/">NSData</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../decode.html">E</a></div><div class="brief "><p class="paragraph">Read an encoded message from <code class="lang-kotlin">data</code>.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1514432697%2FFunctions%2F1130791900" anchor-label="encode" id="1514432697%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="encode.html"><span><span>encode</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1514432697%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Write non-null <code class="lang-kotlin">value</code> to <code class="lang-kotlin">writer</code>.</p></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="index.html#362516774%2FFunctions%2F-519790334"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> as a <code class="lang-kotlin">byte[]</code>.</p></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="index.html#-490803903%2FFunctions%2F-519790334"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sink<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSink///PointingToDeclaration/">BufferedSink</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> and write it to <code class="lang-kotlin">stream</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Write non-null <code class="lang-kotlin">value</code> to <code class="lang-kotlin">writer</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#362516774%2FFunctions%2F954031012"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> as a <code class="lang-kotlin">byte[]</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-490803903%2FFunctions%2F954031012"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sink<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSink///PointingToDeclaration/">BufferedSink</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> and write it to <code class="lang-kotlin">stream</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#362516774%2FFunctions%2F492318644"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></div><div class="symbol monospace"><span class="token keyword">fun </span><a href="index.html#1817321442%2FFunctions%2F492318644"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">stream<span class="token operator">: </span><a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html">OutputStream</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-490803903%2FFunctions%2F492318644"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sink<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSink///PointingToDeclaration/">BufferedSink</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encode.html"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Write non-null <code class="lang-kotlin">value</code> to <code class="lang-kotlin">writer</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#362516774%2FFunctions%2F1029872002"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/ByteArray///PointingToDeclaration/">ByteArray</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> as a <code class="lang-kotlin">byte[]</code>.</p></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-490803903%2FFunctions%2F1029872002"><span class="token function">encode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">sink<span class="token operator">: </span><span data-unresolved-link="okio/BufferedSink///PointingToDeclaration/">BufferedSink</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> and write it to <code class="lang-kotlin">stream</code>.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-320012307%2FFunctions%2F1130791900" anchor-label="encodeByteString" id="-320012307%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><span data-unresolved-link="com.squareup.wire/ProtoAdapter/encodeByteString/#TypeParam(bounds=[com.squareup.wire.WireEnum])/PointingToDeclaration/"><span>encode</span><wbr></wbr><span>Byte</span><wbr></wbr><span><span>String</span></span></span></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-320012307%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="index.html#-320012307%2FFunctions%2F-519790334"><span class="token function">encodeByteString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> as a <span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-320012307%2FFunctions%2F954031012"><span class="token function">encodeByteString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> as a <span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-320012307%2FFunctions%2F492318644"><span class="token function">encodeByteString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-320012307%2FFunctions%2F1029872002"><span class="token function">encodeByteString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span></div><div class="brief "><p class="paragraph">Encode <code class="lang-kotlin">value</code> as a <span data-unresolved-link="okio/ByteString///PointingToDeclaration/">ByteString</span>.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="1179100886%2FFunctions%2F1130791900" anchor-label="encodedSize" id="1179100886%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="encoded-size.html"><span>encoded</span><wbr></wbr><span><span>Size</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1179100886%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encoded-size.html"><span class="token function">encodedSize</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div><div class="brief "><p class="paragraph">The size of the non-null data <code class="lang-kotlin">value</code>. This does not include the size required for a length-delimited prefix (should the type require one).</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encoded-size.html"><span class="token function">encodedSize</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div><div class="brief "><p class="paragraph">The size of the non-null data <code class="lang-kotlin">value</code>. This does not include the size required for a length-delimited prefix (should the type require one).</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encoded-size.html"><span class="token function">encodedSize</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="encoded-size.html"><span class="token function">encodedSize</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div><div class="brief "><p class="paragraph">The size of the non-null data <code class="lang-kotlin">value</code>. This does not include the size required for a length-delimited prefix (should the type require one).</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="804415853%2FFunctions%2F1130791900" anchor-label="encodedSizeWithTag" id="804415853%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><span data-unresolved-link="com.squareup.wire/ProtoAdapter/encodedSizeWithTag/#kotlin.Int#TypeParam(bounds=[com.squareup.wire.WireEnum])?/PointingToDeclaration/"><span>encoded</span><wbr></wbr><span>Size</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Tag</span></span></span></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="804415853%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#804415853%2FFunctions%2F-519790334"><span class="token function">encodedSizeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div><div class="brief "><p class="paragraph">The size of <code class="lang-kotlin">tag</code> and <code class="lang-kotlin">value</code> in the wire format. This size includes the tag, type, length-delimited prefix (should the type require one), and value. Returns 0 if <code class="lang-kotlin">value</code> is null.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#804415853%2FFunctions%2F954031012"><span class="token function">encodedSizeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div><div class="brief "><p class="paragraph">The size of <code class="lang-kotlin">tag</code> and <code class="lang-kotlin">value</code> in the wire format. This size includes the tag, type, length-delimited prefix (should the type require one), and value. Returns 0 if <code class="lang-kotlin">value</code> is null.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#804415853%2FFunctions%2F492318644"><span class="token function">encodedSizeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#804415853%2FFunctions%2F1029872002"><span class="token function">encodedSizeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span></div><div class="brief "><p class="paragraph">The size of <code class="lang-kotlin">tag</code> and <code class="lang-kotlin">value</code> in the wire format. This size includes the tag, type, length-delimited prefix (should the type require one), and value. Returns 0 if <code class="lang-kotlin">value</code> is null.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1080651556%2FFunctions%2F1130791900" anchor-label="encodeWithTag" id="-1080651556%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><span data-unresolved-link="com.squareup.wire/ProtoAdapter/encodeWithTag/#com.squareup.wire.ProtoWriter#kotlin.Int#TypeParam(bounds=[com.squareup.wire.WireEnum])?/PointingToDeclaration/"><span>encode</span><wbr></wbr><span>With</span><wbr></wbr><span><span>Tag</span></span></span></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1080651556%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-1882930246%2FFunctions%2F-519790334"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#1543761198%2FFunctions%2F-519790334"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Write <code class="lang-kotlin">tag</code> and <code class="lang-kotlin">value</code> to <code class="lang-kotlin">writer</code>. If value is null this does nothing.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-1882930246%2FFunctions%2F954031012"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#1543761198%2FFunctions%2F954031012"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Write <code class="lang-kotlin">tag</code> and <code class="lang-kotlin">value</code> to <code class="lang-kotlin">writer</code>. If value is null this does nothing.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-1882930246%2FFunctions%2F492318644"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#1543761198%2FFunctions%2F492318644"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-1882930246%2FFunctions%2F1029872002"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-proto-writer/index.html">ProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#1543761198%2FFunctions%2F1029872002"><span class="token function">encodeWithTag</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">writer<span class="token operator">: </span><a href="../-reverse-proto-writer/index.html">ReverseProtoWriter</a><span class="token punctuation">, </span></span><span class="parameter ">tag<span class="token operator">: </span><span data-unresolved-link="kotlin/Int///PointingToDeclaration/">Int</span><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a><span class="token operator">?</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Write <code class="lang-kotlin">tag</code> and <code class="lang-kotlin">value</code> to <code class="lang-kotlin">writer</code>. If value is null this does nothing.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-1620476832%2FFunctions%2F1130791900" anchor-label="redact" id="-1620476832%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><a href="redact.html"><span><span>redact</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1620476832%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="redact.html"><span class="token function">redact</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Returns the redacted form of <code class="lang-kotlin">value</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="redact.html"><span class="token function">redact</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Returns the redacted form of <code class="lang-kotlin">value</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="redact.html"><span class="token function">redact</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="redact.html"><span class="token function">redact</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html">E</a></div><div class="brief "><p class="paragraph">Returns the redacted form of <code class="lang-kotlin">value</code>.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-2000452144%2FFunctions%2F1130791900" anchor-label="toString" id="-2000452144%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><span data-unresolved-link="com.squareup.wire/ProtoAdapter/toString/#TypeParam(bounds=[com.squareup.wire.WireEnum])/PointingToDeclaration/"><span>to</span><wbr></wbr><span><span>String</span></span></span></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2000452144%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-2000452144%2FFunctions%2F-519790334"><span class="token function">toString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span></div><div class="brief "><p class="paragraph">Returns a human-readable version of the given <code class="lang-kotlin">value</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-2000452144%2FFunctions%2F954031012"><span class="token function">toString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span></div><div class="brief "><p class="paragraph">Returns a human-readable version of the given <code class="lang-kotlin">value</code>.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-2000452144%2FFunctions%2F492318644"><span class="token function">toString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">open </span><span class="token keyword">fun </span><a href="index.html#-2000452144%2FFunctions%2F1029872002"><span class="token function">toString</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="index.html">E</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlin/String///PointingToDeclaration/">String</span></div><div class="brief "><p class="paragraph">Returns a human-readable version of the given <code class="lang-kotlin">value</code>.</p></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
<a data-name="-2143638645%2FFunctions%2F1130791900" anchor-label="tryDecode" id="-2143638645%2FFunctions%2F1130791900" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain"></a>
          <div class="table-row" data-filterable-current=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain,:wire-runtime:dokkaHtml/jsMain,:wire-runtime:dokkaHtml/jvmMain,:wire-runtime:dokkaHtml/nativeMain">
            <div class="main-subrow keyValue ">
              <div class=""><span class="inline-flex">
                  <div><span data-unresolved-link="com.squareup.wire/ProtoAdapter/tryDecode/#com.squareup.wire.ProtoReader#kotlin.collections.MutableList[TypeParam(bounds=[com.squareup.wire.WireEnum])]/PointingToDeclaration/"><span>try</span><wbr></wbr><span><span>Decode</span></span></span></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2143638645%2FFunctions%2F1130791900"></span>
                    <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                  </span></span></div>
              <div>
                <div class="title">
                  <div class="platform-hinted  with-platform-tabs" data-platform-hinted="data-platform-hinted">
                    <div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/commonMain" data-filterable-set=":wire-runtime:dokkaHtml/commonMain" data-active="" data-toggle=":wire-runtime:dokkaHtml/commonMain">common</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jsMain" data-filterable-set=":wire-runtime:dokkaHtml/jsMain" data-toggle=":wire-runtime:dokkaHtml/jsMain">js</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/jvmMain" data-filterable-set=":wire-runtime:dokkaHtml/jvmMain" data-toggle=":wire-runtime:dokkaHtml/jvmMain">jvm</button><button class="platform-bookmark" data-filterable-current=":wire-runtime:dokkaHtml/nativeMain" data-filterable-set=":wire-runtime:dokkaHtml/nativeMain" data-toggle=":wire-runtime:dokkaHtml/nativeMain">native</button></div>
<div class="content sourceset-dependent-content" data-active="" data-togglable=":wire-runtime:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="index.html#-1386937699%2FFunctions%2F-519790334"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Reads a value and appends it to <a href="index.html#-1386937699%2FFunctions%2F-519790334">destination</a> if this has data available. Otherwise, it will only clear the reader state.</p></div><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">fun </span><a href="index.html#-1080178564%2FFunctions%2F-519790334"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Reads a value and appends it to <a href="index.html#-1080178564%2FFunctions%2F-519790334">destination</a> if this has data available. Otherwise, it will only clear the reader state.</p></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-1386937699%2FFunctions%2F954031012"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-1080178564%2FFunctions%2F954031012"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-1386937699%2FFunctions%2F492318644"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-1080178564%2FFunctions%2F492318644"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div></div><div class="content sourceset-dependent-content" data-togglable=":wire-runtime:dokkaHtml/nativeMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-1386937699%2FFunctions%2F1029872002"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader/index.html">ProtoReader</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="index.html#-1080178564%2FFunctions%2F1029872002"><span class="token function">tryDecode</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">reader<span class="token operator">: </span><a href="../-proto-reader32/index.html">ProtoReader32</a><span class="token punctuation">, </span></span><span class="parameter ">destination<span class="token operator">: </span><span data-unresolved-link="kotlin.collections/MutableList///PointingToDeclaration/">MutableList</span><span class="token operator">&lt;</span><a href="index.html">E</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span></div></div>                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
      <div class="footer">
        <span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2025 Copyright</span><span
                class="pull-right"><span>Generated by </span><a
                href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
      </div>
            </div>
        </div>
    </div>
</body>
</html>
